//
//  HBRequest.h
//  HeartBeat
//
//  Created by karong on 2023/8/23.
//

#import "HBBaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface HBRequest : HBBaseRequest
+ (void)获取启动配置;

+ (void)loginWithSuccess:(回调一个对象)success
                  failed:(失败回调)failed;

+ (void)loginLineWithAccess_token:(NSString *)access_token
                          success:(回调一个对象)success
                           failed:(失败回调)failed;

+ (void)uploadImage:(UIImage *)image
            success:(回调一个字符串)success
             failed:(失败回调)failed;

+ (void)getUserInfoWithUser_id:(NSInteger)user_id
                       success:(回调一个对象)success
                        failed:(失败回调)failed;

+ (void)loadDiscoverChannelSuccess:(回调一个数组)success
                            failed:(失败回调)failed;

+ (void)loadChannelItemWithChannelId:(NSInteger)channelId
                         channelType:(NSInteger)channelType
                             success:(回调一个数组)success
                              failed:(失败回调)failed;

+ (void)loadForYouListWithChannel_type:(NSInteger)channel_type
                                  page:(NSInteger)page
                               success:(回调一个数组)success
                                failed:(失败回调)failed;

+ (void)loadCategoryWithChannel_type:(NSInteger)channel_type
                             success:(回调一个对象)success
                              failed:(失败回调)failed;

+ (void)loadCategoryListWithCategoryDic:(NSDictionary *)categoryDic
                                   page:(NSInteger)page
                                success:(回调一个数组)success
                                 failed:(失败回调)failed;

+ (void)loadHotSearchSuccess:(回调一个数组)success
                      failed:(失败回调)failed;

+ (void)loadSearchWithKeyWord:(NSString *)keyword
                         page:(NSInteger)page
                      success:(回调一个数组)success
                       failed:(失败回调)failed;

+ (void)loadRankWithSort_type:(NSInteger)sort_type
                 channel_type:(NSInteger)channel_type
                         page:(NSInteger)page
                      success:(回调一个数组)success
                       failed:(失败回调)failed;

+ (void)loadNewestWithKeyPage:(NSInteger)page
                      success:(回调一个数组)success
                       failed:(失败回调)failed;

+ (void)loadNovelDetailWithId:(NSInteger)novelId
                      success:(回调一个对象)success
                       failed:(失败回调)failed;

+ (void)loadChapterDetailWithChapter_id:(NSInteger)chapter_id
                                success:(回调一个对象)success
                                 failed:(失败回调)failed;

+ (void)addBookshelfWithAddArray:(NSArray *)addArray
                         success:(空回调)success
                          failed:(失败回调)failed;

+ (void)loadFollowListWithPage:(NSInteger)page
                       success:(回调一个数组)success
                        failed:(失败回调)failed;

+ (void)delBookshelfWithDelArray:(NSArray *)delArray
                         success:(空回调)success
                          failed:(失败回调)failed;

+ (void)loadHistoryListWithPage:(NSInteger)page
                        success:(回调一个数组)success
                         failed:(失败回调)failed;

+ (void)delHistoryWithDelArray:(NSArray *)delArray
                       success:(空回调)success
                        failed:(失败回调)failed;

+ (void)loadTaskListWithSuccess:(回调一个对象)success
                         failed:(失败回调)failed;

+ (void)loadSignListWithSuccess:(回调一个对象)success
                         failed:(失败回调)failed;

+ (void)signWithSuccess:(空回调)success
                 failed:(失败回调)failed;

+ (void)receiveWithTask_id:(NSInteger)task_id
                   success:(空回调)success
                    failed:(失败回调)failed;

+ (void)loadNovelChapterListWithBookId:(NSInteger)bookId
                             sort_type:(NSInteger)sort_type
                                  page:(NSInteger)page
                               success:(回调一个对象)success
                                failed:(失败回调)failed;

+ (void)editUserInfoWithField:(NSString *)field
                  stringValue:(NSString *)value
                      success:(空回调)success
                       failed:(失败回调)failed;

+ (void)editUserInfoWithField:(NSString *)field
                 integerValue:(NSInteger)value
                      success:(空回调)success
                       failed:(失败回调)failed;

+ (void)loadFeedbackTypeWithSuccess:(回调一个数组)success
                             failed:(失败回调)failed;

+ (void)submitFeedbackWithOpinion:(NSString *)opinion
                             type:(NSInteger)type
                           images:(NSString *)images
                          success:(空回调)success
                           failed:(失败回调)failed;

+ (void)delUserWithSuccess:(空回调)success
                    failed:(失败回调)failed;

+ (void)loadGoodsListWithGoods_type:(NSInteger)goods_type
                            success:(回调一个数组)success
                             failed:(失败回调)failed;

+ (void)orderValidWithOrder_no:(NSString *)order_no
                  receipt_data:(NSString *)receipt_data
                       success:(空回调)success
                        failed:(失败回调)failed;

+ (void)orderCreatWithGoods_id:(NSInteger )goods_id
                      novel_id:(NSInteger)novel_id
                    chapter_id:(NSInteger)chapter_id
                       success:(回调一个字符串)success
                        failed:(失败回调)failed;

+ (void)loadPayListWithChapter_id:(NSInteger)chapter_id
                          success:(回调一个对象)success
                           failed:(失败回调)failed;

+ (void)payChapterWithChapter_id:(NSInteger)chapter_id
                         success:(空回调)success
                          failed:(失败回调)failed;

+ (void)packageWithChapter_id:(NSInteger)chapter_id
                          num:(NSInteger)num
                      success:(空回调)success
                       failed:(失败回调)failed;

+ (void)addReadLogWithChapter_id:(NSInteger)chapter_id
                         success:(空回调)success
                          failed:(失败回调)failed;

+ (void)addScoreWithNovel_Id:(NSInteger)novel_Id
                       score:(NSInteger)score
                     success:(空回调)success
                      failed:(失败回调)failed;
@end

NS_ASSUME_NONNULL_END
